package com.chouxiaozi.battercake;

public class BattercakeDecorator extends Battercake {

    private Battercake battercake;

    public BattercakeDecorator(Battercake battercake) {
        this.battercake = battercake;
    }

    protected int price() {
        return battercake.price();
    }

    protected String getMsg() {
        return battercake.getMsg();
    }
}
